#canvas1{
    position:absolute;
    left:50%;
    top:50%;
    width:552px;
    height:150px;
    transform: translate(-50%,-50%);
    border:1px solid #333;
}
.game1,.game2,.game3{
    display: none;
}